//
//  QPlayBoxView.h
//  QoilPublic
//
//  Created by 杨凯 on 16/7/4.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, PlayboxViewStyle) {
    PlayboxCallPhoneStyle,    //客服电话
    PlayboxChangeMemberStyle, //没有登录
    PlayboxcancelOrderStyle,   //取消订单
    PlayboxVersionupdateStyle, //版本更新
    playboxPeoplePayOrderStyle, //代付款
    PlayboxCallDriverPhone
};

@interface QPlayBoxView : UIView

@property(nonatomic,assign)PlayboxViewStyle playStyle;

@property(nonatomic,copy)void(^ChooseIndexBlock)(NSInteger);

- (instancetype)initWithStyle:(PlayboxViewStyle)style;
//打电话给指定人
- (instancetype)initWithName:(NSString *)name Number:(NSString *)number;
- (void)showPlayBoxView;

- (void)hidePlayBoxView;



@end
